From 6b7ff60a5e71c161a064e27509fe4fb95cf74ddd Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Thu, 13 Jun 2024 00:46:00 +0300 Subject: [PATCH] Highlight the suffix in *Completions* buffer in 'basic' style too * lisp/minibuffer.el (completion-basic-all-completions): Make sure to highlight the suffix as well (bug#71419). --- lisp/minibuffer.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el index f62cb2566b2..144cda8cfdc 100644 --- a/lisp/minibuffer.el +++ b/lisp/minibuffer.el @@ -3816,7 +3816,7 @@ Return the new suffix." 'point (substring afterpoint 0 (cdr bounds))))) (all (completion-pcm--all-completions prefix pattern table pred))) - (completion-hilit-commonality all point (car bounds)))) + (completion-pcm--hilit-commonality pattern all))) ;;; Partial-completion-mode style completion. -- 2.30.2